﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="AddSupportingMaterial.aspx.cs" Inherits="SD.UI.AddSupportingMaterial" Title="Untitled Page" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>Add Supporting Material</title>
    <style type="text/css">
        .style2
        {
            height: 23px;
        }
        .style3
        {
            width: 156px;
        }
        .style4
        {
            height: 23px;
            width: 156px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
        <table width="100%">
            <tr>
                <td colspan="2">
                    Organization >
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <div>
                        <h1>
                            Supporting Materials Details
                        </h1>
                    </div>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <div style="float:right; margin-bottom: -30px;">
                        <asp:Button ID="btnMSInActive" runat="server" Text="In-active" 
                            CausesValidation="False" onclick="btnMSInActive_Click" CssClass="Button" />
                        <asp:Button ID="btnMSSave" runat="server" Text="Save" onclick="btnSMSave_Click" 
                            CssClass="Button" />
                        <asp:Button ID="btnMSBack" runat="server" Text="Back" onclick="btnSMBack_Click" 
                            CausesValidation="False" CssClass="Button" />
                    </div>                    
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <div>
                        <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
                        </asp:ToolkitScriptManager>
                        <div>
                            <asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" onactivetabchanged="TabContainer1_ActiveTabChanged">
                                <asp:TabPanel ID="tabsDetail1" runat="server" HeaderText="Detail">
                                    <ContentTemplate><div><asp:Panel ID="PanelDetails1" runat="server" Width="1180px"><div><table width="100%"><tr>
                                        <td class="style3"><div><asp:Label ID="lbUrl" runat="server" Text="URL"></asp:Label><asp:Label ID="lbValidUrl" runat="server" ForeColor="Red" Text="*"></asp:Label></div></td><td><div><asp:TextBox ID="tbxUrl" runat="server" Width="250px" MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbxUrl" 
                                                                                        ErrorMessage="Please input URL."> * </asp:RequiredFieldValidator>
                                                                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                                            ControlToValidate="tbxUrl" ErrorMessage="Input URL is invalid" 
                                            ValidationExpression="http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&amp;=]*)?">*</asp:RegularExpressionValidator>
                                                                </div>
                                                            </td>
                                                            <td>
                                                                <div>
                                                                    <asp:Label ID="lbAddedBy" runat="server" Text="Added By"></asp:Label>
                                                                </div>
                                                            </td>
                                                            <td>
                                                                <div>
                                                                    <asp:TextBox ID="tbxAddedBy" runat="server" Width="250px" Enabled="False"></asp:TextBox>
                                                                </div>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <div>
                                                                    <asp:Label ID="lbDescription" runat="server" Text="Description"></asp:Label>     
                                                                </div>
                                                            </td>
                                                            <td>
                                                                <div>
                                                                    <asp:TextBox ID="tbxDescription" runat="server" TextMode="MultiLine" 
                                                                        Width="250px" Height="90px"></asp:TextBox>
                                                                </div>
                                                            </td>
                                                            <td>
                                                                <div style="margin-top: -43px">
                                                                    <asp:Label ID="lbAddedDate" runat="server" Text="Added Date"></asp:Label>
                                                                </div>
                                                            </td>
                                                            <td>
                                                                <div style="margin-top: -45px">
                                                                    <asp:TextBox ID="tbxAddedDate" runat="server" Width="250px" Enabled="False"></asp:TextBox>
                                                                </div>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <div>
                                                                    <asp:Label ID="lblType" runat="server" Text="Type"></asp:Label>
                                                                </div>
                                                            </td>
                                                            <td colspan="3">
                                                                <div>
                                                                    <asp:DropDownList ID="ddlType" runat="server" Width="250px">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </td>
                                                        </tr>
                                                        <tr><td class="style3">
                                            <asp:ValidationSummary ID="ValidationSummary2" runat="server" Width="155px" />
                                            </td><td colspan="3">&#160;</td></tr>
                                                    </table>
                                                </div>
                                            </asp:Panel>
                                        </div>
                                    </ContentTemplate>
                                </asp:TabPanel>
                            </asp:TabContainer>
                        </div>
                        
                    </div>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
